//
//  NSString+Regular.h
//  DuoWeiHuFen
//
//  Created by 郭超 on 2017/1/6.
//  Copyright © 2017年 com.DuoWei.HuFen. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Regular)
/**
 * 正则匹配账号
 * @return <#return value description#>
 */
- (BOOL)isUserName;
/**
 * 正则匹配密码
 * @return <#return value description#>
 */
- (BOOL)isPassword;
/**
 * 正则匹配邮箱
 * @return <#return value description#>
 */
- (BOOL)isEmail;
/**
 * 正则匹配url
 * @return <#return value description#>
 */
- (BOOL)isUrl;
/**
 * 正则匹配手机号码
 * @return <#return value description#>
 */
- (BOOL)isTelephone;
/**
 * 正则匹配QQ
 * @return <#return value description#>
 */
- (BOOL)isQQ;
/**
 * 正则匹配微信
 * @return <#return value description#>
 */
- (BOOL)isWeChat;
@end
